package cn.example.zjgsu.dao;

import cn.example.zjgsu.pojo.Scenery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SceneryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Scenery record);

    Scenery selectByPrimaryKey(Integer id);

    List<Scenery> selectAll();

    int updateByPrimaryKey(Scenery record);

    List<Scenery> selectByShopId(Integer nearbyshop);
}